package com.dfxs.io;

import java.io.InputStream;

/**
 * @author zhangdongsheng
 * @version 1.0
 * @describe 根据配置文件的路径，将配置文件加载成字节输入流，存储在内存中
 * @date 2020/9/26 7:58
 */
public class Resources {

    public static InputStream getResourceAsStream(String path){
        InputStream resourceAsStream = Resources.class.getClassLoader().getResourceAsStream(path);
        return resourceAsStream;
    }
}
